<% @totalTime = 0 %>
<% @eventList.each do |event| %>
  <% @totalTime += event.totalTime %>
<% end %>
<h3><center>Statistics</center></h3>
<ul>
<li>Total Events: <%= @eventList.size %></li>
<li>Total Time Today: <%= pluralize(((((@totalTime.to_f/60)*100).round).to_f/100),"hour") %></li>
<li>Total Hours Logged: <%= pluralize( ((((@totalTime.to_f/60)*100).round).to_f/100) ,"hour") %></li>
</ul>
